package com.sunny.fetch.dao.schema;

import java.util.Map;

/**
 * @Author: sublun
 * @Date: 2021/4/2 17:04
 */
public class TableInfo {
    private String name;
    private TableField primaryKey;
    private Map<String, TableField> fields;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public TableField getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(TableField primaryKey) {
        this.primaryKey = primaryKey;
    }

    public Map<String, TableField> getFields() {
        return fields;
    }

    public void setFields(Map<String, TableField> fields) {
        this.fields = fields;
    }
}
